package com.yhn.init.model.dto.orders;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serial;
import java.io.Serializable;

/**
 * 订单完善请求
 *
 * @author yhn
 * @version 1.0
 * @description
 * @date 2024/3/20 9:49
 */
@Data
public class OrdersConfirmedRequest implements Serializable {

    @NotNull(message = "订单ID不能为空")
    private Long orderId;

    @NotNull(message = "确认信息不能为空")
    private Boolean isConfirmed;

    @Serial
    private static final long serialVersionUID = 1L;
}
